package com.vhall.component.service.interactive.config;

/**
 * 执行者线程池配置
 *
 * @author yuanzh
 */
// @Configuration
public class SyncExecutorConfig {

    private static final int CORE_POOL_SIZE = 20;

    private static final int POOL_MAX_SIZE = 200;

    private static final long KEEP_ALIVE_TIME = 30;

    private static final int BLOCK_QUEUE_SIZE = 100;

    // @Bean
//	public Executor asyncMessageExecutor() {
//		return ThreadPoolUtil.createThreadPoolExecutor(CORE_POOL_SIZE, POOL_MAX_SIZE, KEEP_ALIVE_TIME, BLOCK_QUEUE_SIZE,
//													   "vhall_async_msg_thread_pool");
//	}

}
